Fix UnboundLocalError in _catch_test_status when ThreadPool creation... - #6342
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review. Walkthrough
Estimated code review effort: 1 (Trivial) | ~3 minutes Merge Risk: ⚪ Minimal · up to This is a small, localized fix for an exception-handling bug, and no actionable merge-blocking risk remains beyond normal checks and review. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #6342 +/- ##
==========================================
- Coverage 73.66% 70.61% -3.05%
==========================================
Files 206 207 +1
Lines 22635 23639 +1004
==========================================
+ Hits 16673 16692 +19
- Misses 5962 6947 +985 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Ok, merged. Could you please rebase on the master branch and push again? |
Initialize pool to None and only terminate it if it was created, so a failure during ThreadPool setup is not masked by UnboundLocalError in the finally block. Signed-off-by: mataotao <mataotao@uniontech.com>
9d54383 to
f5c128a
Compare
Hi @pevogam, thanks for merging #6343. I have rebased this PR on the latest master and pushed again. |
|
Hmmm, I wonder if GitHub's severe outage yesterday could have caused some problems in the cache. The tests passed just fine right after yesterday's merge as well. |
|
Thanks for re-running the jobs. They failed again with the same error. |
|
@PraveenPenguin Do you happen to understand what this avocado cache that fails in the CI is about? It also fails for other PRs too. |
|
Hmmm, I reran the GH Actions workflow from the master branch and all tests pass there. Then reran here too and everything passed. It must have been Github related cache issue. |
Initialize pool to None and only terminate it if it was created, so a
failure during ThreadPool setup is not masked by UnboundLocalError in
the finally block.
Summary by CodeRabbit